200
|
How do I arrange my columns on multiple lines

ComboBox1->HeaderHeight = 32;
ComboBox1->Columns->Add(L"")->HTMLCaption = L"Line 1<br>Line 2";
|
199
|
How can I display all cells using HTML format

ComboBox1->Columns->Add(L"HTML")->set_Def(Excomboboxlib_tlb::DefColumnEnum::exCellCaptionFormat,TVariant(1));
ComboBox1->Items->AddItem(TVariant("<font ;12>T</font>his <b>is</b> an <a>html</a> <font Tahoma><fgcolor=FF0000>text</fgcolor></font>."));
|
198
|
How can I display all cells using multiple lines

ComboBox1->Columns->Add(L"MultipleLine")->set_Def(Excomboboxlib_tlb::DefColumnEnum::exCellSingleLine,TVariant(false));
ComboBox1->Columns->Add(L"SingleLine")->set_Def(Excomboboxlib_tlb::DefColumnEnum::exCellSingleLine,TVariant(true));
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
var_Items->set_CellCaption(TVariant(var_Items->AddItem(TVariant("This is a bit of long text that should break the line"))),TVariant(1),TVariant("this is a bit of long text that's displayed on a single line"));
|
197
|
How do change the vertical alignment for all cells in the column

ComboBox1->Columns->Add(L"MultipleLine")->set_Def(Excomboboxlib_tlb::DefColumnEnum::exCellSingleLine,TVariant(false));
ComboBox1->Columns->Add(L"VAlign")->set_Def(Excomboboxlib_tlb::DefColumnEnum::exCellVAlignment,TVariant(2));
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
var_Items->set_CellCaption(TVariant(var_Items->AddItem(TVariant("This is a bit of long text that should break the line"))),TVariant(1),TVariant("bottom"));
Excomboboxlib_tlb::IItemsPtr var_Items1 = ComboBox1->Items;
var_Items1->set_CellCaption(TVariant(var_Items1->AddItem(TVariant("This is a bit of long text that should break the line"))),TVariant(1),TVariant("bottom"));
|
196
|
How do change the foreground color for all cells in the column

ComboBox1->Columns->Add(L"ForeColor")->set_Def(Excomboboxlib_tlb::DefColumnEnum::exCellForeColor,TVariant(255));
ComboBox1->Items->AddItem(TVariant(0));
ComboBox1->Items->AddItem(TVariant(1));
|
195
|
How do change the background color for all cells in the column

ComboBox1->Columns->Add(L"BackColor")->set_Def(Excomboboxlib_tlb::DefColumnEnum::exCellBackColor,TVariant(255));
ComboBox1->Items->AddItem(TVariant(0));
ComboBox1->Items->AddItem(TVariant(1));
|
194
|
How do I show buttons for all cells in the column

Excomboboxlib_tlb::IColumnPtr var_Column = ComboBox1->Columns->Add(L"Button");
var_Column->set_Def(Excomboboxlib_tlb::DefColumnEnum::exCellHasButton,TVariant(true));
var_Column->set_Def(Excomboboxlib_tlb::DefColumnEnum::exCellButtonAutoWidth,TVariant(true));
ComboBox1->Items->AddItem(TVariant(" Button 1 "));
ComboBox1->Items->AddItem(TVariant(" Button 2 "));
|
193
|
How do I show buttons for all cells in the column

ComboBox1->Columns->Add(L"Button")->set_Def(Excomboboxlib_tlb::DefColumnEnum::exCellHasButton,TVariant(true));
ComboBox1->Items->AddItem(TVariant(0));
ComboBox1->Items->AddItem(TVariant(1));
|
192
|
How do I display radio buttons for all cells in the column

ComboBox1->Columns->Add(L"Radio")->set_Def(Excomboboxlib_tlb::DefColumnEnum::exCellHasRadioButton,TVariant(true));
ComboBox1->Items->AddItem(TVariant(0));
ComboBox1->Items->AddItem(TVariant(1));
|
191
|
How do I display checkboxes for all cells in the column

ComboBox1->Columns->Add(L"Check")->set_Def(Excomboboxlib_tlb::DefColumnEnum::exCellHasCheckBox,TVariant(true));
ComboBox1->Items->AddItem(TVariant(0));
ComboBox1->Items->AddItem(TVariant(1));
|
190
|
How can I display a tooltip when the cursor hovers the column

ComboBox1->Columns->Add(L"tooltip")->ToolTip = L"This is a bit of text that is shown when user hovers the column.";
|
189
|
Is there any function to assign a key to a column instead using its name or capion

ComboBox1->Columns->Add(L"Data")->Key = L"DKey";
ComboBox1->Columns->get_Item(TVariant("DKey"))->Caption = L"new caption";
|
188
|
Is there any function to assign any extra data to a column

ComboBox1->Columns->Add(L"Data")->set_Data(TVariant("your extra data"));
|
187
|
By default, the column gets sorted descending, when I first click its header. How can I change so the column gets sorted ascending when the user first clicks the column's header

ComboBox1->Columns->Add(L"Sort")->DefaultSortOrder = true;
|
186
|
How can I specify the maximum width for the column, if I use WidthAutoResize property

Excomboboxlib_tlb::IColumnPtr var_Column = ComboBox1->Columns->Add(L"Auto");
var_Column->WidthAutoResize = true;
var_Column->MinWidthAutoResize = 32;
var_Column->MaxWidthAutoResize = 128;
ComboBox1->Items->AddItem(TVariant(0));
ComboBox1->Items->AddItem(TVariant(1));
|
185
|
How can I specify the minimum width for the column, if I use WidthAutoResize property

Excomboboxlib_tlb::IColumnPtr var_Column = ComboBox1->Columns->Add(L"Auto");
var_Column->WidthAutoResize = true;
var_Column->MinWidthAutoResize = 32;
ComboBox1->Items->AddItem(TVariant(0));
ComboBox1->Items->AddItem(TVariant(1));
|
184
|
Is there any option to resize the column based on its data, captions

ComboBox1->Columns->Add(L"A")->WidthAutoResize = true;
ComboBox1->Items->AddItem(TVariant(0));
ComboBox1->Items->AddItem(TVariant(1));
|
183
|
How can I align the icon in the column's header in the center

ComboBox1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="));
Excomboboxlib_tlb::IColumnPtr var_Column = ComboBox1->Columns->Add(L"");
var_Column->HeaderImage = 1;
var_Column->HeaderImageAlignment = Excomboboxlib_tlb::AlignmentEnum::CenterAlignment;
|
182
|
How do I align the icon in the column's header to the right

ComboBox1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="));
Excomboboxlib_tlb::IColumnPtr var_Column = ComboBox1->Columns->Add(L"ColumnName");
var_Column->HeaderImage = 1;
var_Column->HeaderImageAlignment = Excomboboxlib_tlb::AlignmentEnum::RightAlignment;
|
181
|
How do I show or hide the sorting icons, but still need sorting

ComboBox1->Columns->Add(L"Sorted")->SortOrder = Excomboboxlib_tlb::SortOrderEnum::SortAscending;
ComboBox1->Columns->get_Item(TVariant(0))->DisplaySortIcon = false;
|
180
|
How do I enable or disable the entire column

ComboBox1->Columns->Add(L"C1");
ComboBox1->Columns->Add(L"Disabled")->Enabled = false;
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
var_Items->set_CellCaption(TVariant(var_Items->AddItem(TVariant(0))),TVariant(1),TVariant("0.1"));
Excomboboxlib_tlb::IItemsPtr var_Items1 = ComboBox1->Items;
var_Items1->set_CellCaption(TVariant(var_Items1->AddItem(TVariant(1))),TVariant(1),TVariant("1.1"));
|
179
|
How do I disable drag and drop columns

ComboBox1->Columns->Add(L"C1")->AllowDragging = false;
ComboBox1->Columns->Add(L"C2")->AllowDragging = false;
|
178
|
How do I disable resizing a column at runtime

ComboBox1->Columns->Add(L"Unsizable")->AllowSizing = false;
ComboBox1->Columns->Add(L"C2");
ComboBox1->Columns->Add(L"C3");
ComboBox1->Columns->Add(L"C4");
|
177
|
How can I align the column to the right, and its caption too

Excomboboxlib_tlb::IColumnPtr var_Column = ComboBox1->Columns->Add(L"Column");
var_Column->Alignment = Excomboboxlib_tlb::AlignmentEnum::RightAlignment;
var_Column->HeaderAlignment = Excomboboxlib_tlb::AlignmentEnum::RightAlignment;
ComboBox1->Items->AddItem(TVariant(0));
ComboBox1->Items->AddItem(TVariant(1));
|
176
|
How can I align the column to the right

ComboBox1->Columns->Add(L"Column")->Alignment = Excomboboxlib_tlb::AlignmentEnum::RightAlignment;
ComboBox1->Items->AddItem(TVariant(0));
ComboBox1->Items->AddItem(TVariant(1));
|
175
|
How do I change the column's caption

ComboBox1->Columns->Add(L"Column")->Caption = L"new caption";
|
174
|
Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions, after the user clicks it

ComboBox1->FormatAnchor[false] = L"<b><u><fgcolor=880000> </fgcolor></u></b>";
ComboBox1->Columns->Add(L"Column");
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
var_Items->set_CellCaptionFormat(TVariant(var_Items->AddItem(TVariant("Just an <a1>anchor</a> element ..."))),TVariant(0),Excomboboxlib_tlb::CaptionFormatEnum::exHTML);
Excomboboxlib_tlb::IItemsPtr var_Items1 = ComboBox1->Items;
var_Items1->set_CellCaptionFormat(TVariant(var_Items1->AddItem(TVariant("Just another <a2>anchor</a> element ..."))),TVariant(0),Excomboboxlib_tlb::CaptionFormatEnum::exHTML);
ComboBox1->Items->AddItem(TVariant("next item"));
|
173
|
Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions

ComboBox1->FormatAnchor[true] = L"<b><u><fgcolor=FF0000> </fgcolor></u></b>";
ComboBox1->Columns->Add(L"Column");
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
var_Items->set_CellCaptionFormat(TVariant(var_Items->AddItem(TVariant("Just an <a1>anchor</a> element ..."))),TVariant(0),Excomboboxlib_tlb::CaptionFormatEnum::exHTML);
Excomboboxlib_tlb::IItemsPtr var_Items1 = ComboBox1->Items;
var_Items1->set_CellCaptionFormat(TVariant(var_Items1->AddItem(TVariant("Just another <a2>anchor</a> element ..."))),TVariant(0),Excomboboxlib_tlb::CaptionFormatEnum::exHTML);
|
172
|
Can I change the font for the tooltip

ComboBox1->ToolTipDelay = 1;
ComboBox1->ToolTipWidth = 364;
ComboBox1->Columns->Add(L"tootip")->ToolTip = L"<br><font Tahoma;14>this</font> is a tooltip assigned to a column<br>";
|
171
|
Can I change the font for the tooltip

ComboBox1->ToolTipDelay = 1;
/*
Select the Component\Import Component...\Import a Type Library,
to import the following Type Library:
OLE Automation
TypeLib: stdole2.tlb
to define the namespace: Stdole_tlb
*/
//#include "STDOLE_TLB.h"
Stdole_tlb::FontPtr var_StdFont = ComboBox1->ToolTipFont;
var_StdFont->Name = L"Tahoma";
var_StdFont->Size = TVariant(long(14));
ComboBox1->ToolTipWidth = 364;
ComboBox1->Columns->Add(L"tootip")->ToolTip = L"this is a tooltip assigned to a column";
|
170
|
Can I change the order of the buttons in the scroll bar

ComboBox1->ScrollOrderParts[Excomboboxlib_tlb::ScrollBarEnum::exHScroll] = L"t,l,r";
ComboBox1->ScrollOrderParts[Excomboboxlib_tlb::ScrollBarEnum::exVScroll] = L"t,l,r";
|
169
|
The thumb size seems to be very small. Can I make it bigger

ComboBox1->ColumnAutoResize = false;
ComboBox1->Columns->Add(L"C1")->Width = 256;
ComboBox1->Columns->Add(L"C2")->Width = 256;
ComboBox1->Columns->Add(L"C3")->Width = 256;
ComboBox1->ScrollThumbSize[Excomboboxlib_tlb::ScrollBarEnum::exHScroll] = 64;
|
168
|
How can I display my text on the scroll bar, using a different font

ComboBox1->ScrollPartCaption[Excomboboxlib_tlb::ScrollBarEnum::exHScroll,Excomboboxlib_tlb::ScrollPartEnum::exThumbPart] = L"This is <s><font Tahoma;12> just </font></s> text";
ComboBox1->ColumnAutoResize = false;
ComboBox1->ScrollHeight = 20;
ComboBox1->Columns->Add(L"C1")->Width = 256;
ComboBox1->Columns->Add(L"C2")->Width = 256;
ComboBox1->Columns->Add(L"C3")->Width = 256;
|
167
|
How can I display my text on the scroll bar, using a different font

ComboBox1->ScrollPartCaption[Excomboboxlib_tlb::ScrollBarEnum::exHScroll,Excomboboxlib_tlb::ScrollPartEnum::exThumbPart] = L"This is just a text";
ComboBox1->ScrollFont[Excomboboxlib_tlb::ScrollBarEnum::exHScroll]->Size = TVariant(long(12));
ComboBox1->ColumnAutoResize = false;
ComboBox1->ScrollHeight = 20;
ComboBox1->Columns->Add(L"C1")->Width = 256;
ComboBox1->Columns->Add(L"C2")->Width = 256;
ComboBox1->Columns->Add(L"C3")->Width = 256;
|
166
|
How can I display my text on the scroll bar

ComboBox1->ScrollPartCaption[Excomboboxlib_tlb::ScrollBarEnum::exHScroll,Excomboboxlib_tlb::ScrollPartEnum::exThumbPart] = L"this is just a text";
ComboBox1->ColumnAutoResize = false;
ComboBox1->Columns->Add(L"C1")->Width = 256;
ComboBox1->Columns->Add(L"C2")->Width = 256;
ComboBox1->Columns->Add(L"C3")->Width = 256;
|
165
|
How do I enlarge or change the size of the control's scrollbars

ComboBox1->ScrollHeight = 18;
ComboBox1->ScrollWidth = 18;
ComboBox1->ScrollButtonWidth = 18;
ComboBox1->ScrollButtonHeight = 18;
|
164
|
How do I assign a tooltip to a scrollbar

ComboBox1->ScrollToolTip[Excomboboxlib_tlb::ScrollBarEnum::exHScroll] = L"This is a tooltip being shown when you click and drag the thumb in the horizontal scroll bar";
ComboBox1->ColumnAutoResize = false;
ComboBox1->Columns->Add(L"C1")->Width = 256;
ComboBox1->Columns->Add(L"C2")->Width = 256;
ComboBox1->Columns->Add(L"C3")->Width = 256;
|
163
|
How do I assign an icon to the button in the scrollbar

ComboBox1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="));
ComboBox1->ScrollPartVisible[Excomboboxlib_tlb::ScrollBarEnum::exHScroll,Excomboboxlib_tlb::ScrollPartEnum::exLeftB1Part] = true;
ComboBox1->ScrollPartCaption[Excomboboxlib_tlb::ScrollBarEnum::exHScroll,Excomboboxlib_tlb::ScrollPartEnum::exLeftB1Part] = L"<img>1</img>";
ComboBox1->ScrollHeight = 18;
ComboBox1->ScrollButtonWidth = 18;
|
162
|
I need to add a button in the scroll bar. Is this possible

ComboBox1->ScrollPartVisible[Excomboboxlib_tlb::ScrollBarEnum::exHScroll,Excomboboxlib_tlb::ScrollPartEnum::exLeftB1Part] = true;
ComboBox1->ScrollPartCaption[Excomboboxlib_tlb::ScrollBarEnum::exHScroll,Excomboboxlib_tlb::ScrollPartEnum::exLeftB1Part] = L"1";
|
161
|
Can I display an additional buttons in the scroll bar

ComboBox1->ScrollPartVisible[Excomboboxlib_tlb::ScrollBarEnum::exHScroll,Excomboboxlib_tlb::ScrollPartEnum::exLeftB1Part] = true;
ComboBox1->ScrollPartVisible[Excomboboxlib_tlb::ScrollBarEnum::exHScroll,Excomboboxlib_tlb::ScrollPartEnum::exLeftB2Part] = true;
ComboBox1->ScrollPartVisible[Excomboboxlib_tlb::ScrollBarEnum::exHScroll,Excomboboxlib_tlb::ScrollPartEnum::exRightB6Part] = true;
ComboBox1->ScrollPartVisible[Excomboboxlib_tlb::ScrollBarEnum::exHScroll,Excomboboxlib_tlb::ScrollPartEnum::exRightB5Part] = true;
|
160
|
How can I display a custom size picture to a cell or item

ComboBox1->DefaultItemHeight = 48;
ComboBox1->Columns->Add(L"C1");
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
var_Items->set_CellPicture(TVariant(var_Items->AddItem(TVariant("Text"))),TVariant(0),ComboBox1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
|
159
|
How can I display a multiple pictures to a cell or item

ComboBox1->DefaultItemHeight = 48;
ComboBox1->HTMLPicture[L"pic1"] = TVariant("c:\\exontrol\\images\\zipdisk.gif");
ComboBox1->HTMLPicture[L"pic2"] = TVariant("c:\\exontrol\\images\\auction.gif");
ComboBox1->Columns->Add(L"C1");
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
var_Items->set_CellCaptionFormat(TVariant(var_Items->AddItem(TVariant("<img>pic1</img> Text <img>pic2</img> another text ..."))),TVariant(0),Excomboboxlib_tlb::CaptionFormatEnum::exHTML);
|
158
|
How do I change the column's foreground color for numbers between an interval - Range

Excomboboxlib_tlb::IConditionalFormatPtr var_ConditionalFormat = ComboBox1->ConditionalFormats->Add(L"%0 >= 2 and %0 <= 10",TNoParam());
var_ConditionalFormat->Bold = true;
var_ConditionalFormat->ForeColor = RGB(255,0,0);
var_ConditionalFormat->ApplyTo = Excomboboxlib_tlb::FormatApplyToEnum(0x1);
ComboBox1->Columns->Add(L"N1");
ComboBox1->Columns->Add(L"N2");
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
var_Items->set_CellCaption(TVariant(var_Items->AddItem(TVariant(1))),TVariant(1),TVariant(2));
Excomboboxlib_tlb::IItemsPtr var_Items1 = ComboBox1->Items;
var_Items1->set_CellCaption(TVariant(var_Items1->AddItem(TVariant(3))),TVariant(1),TVariant(3));
Excomboboxlib_tlb::IItemsPtr var_Items2 = ComboBox1->Items;
var_Items2->set_CellCaption(TVariant(var_Items2->AddItem(TVariant(10))),TVariant(1),TVariant(11));
Excomboboxlib_tlb::IItemsPtr var_Items3 = ComboBox1->Items;
var_Items3->set_CellCaption(TVariant(var_Items3->AddItem(TVariant(13))),TVariant(1),TVariant(31));
ComboBox1->SearchColumnIndex = 1;
|
157
|
How do I change the item's foreground color for numbers between an interval - Range

ComboBox1->ConditionalFormats->Add(L"%0 >= 2 and %0 <= 10",TNoParam())->ForeColor = RGB(255,0,0);
ComboBox1->Columns->Add(L"Numbers");
ComboBox1->Items->AddItem(TVariant(1));
ComboBox1->Items->AddItem(TVariant(2));
ComboBox1->Items->AddItem(TVariant(10));
ComboBox1->Items->AddItem(TVariant(20));
|
156
|
How do I change the item's background color for numbers less than a value

ComboBox1->ConditionalFormats->Add(L"%0 < 10",TNoParam())->BackColor = RGB(255,0,0);
ComboBox1->Columns->Add(L"Numbers");
ComboBox1->Items->AddItem(TVariant(1));
ComboBox1->Items->AddItem(TVariant(2));
ComboBox1->Items->AddItem(TVariant(10));
ComboBox1->Items->AddItem(TVariant(20));
|
155
|
How do I underline the numbers greater than a value

ComboBox1->ConditionalFormats->Add(L"%0 >= 10",TNoParam())->Underline = true;
ComboBox1->Columns->Add(L"Numbers");
ComboBox1->Items->AddItem(TVariant(1));
ComboBox1->Items->AddItem(TVariant(2));
ComboBox1->Items->AddItem(TVariant(10));
ComboBox1->Items->AddItem(TVariant(20));
|
154
|
How do I highlight in italic the numbers greater than a value

ComboBox1->ConditionalFormats->Add(L"%0 >= 10",TNoParam())->StrikeOut = true;
ComboBox1->Columns->Add(L"Numbers");
ComboBox1->Items->AddItem(TVariant(1));
ComboBox1->Items->AddItem(TVariant(2));
ComboBox1->Items->AddItem(TVariant(10));
ComboBox1->Items->AddItem(TVariant(20));
|
153
|
How do I highlight in italic the numbers greater than a value

ComboBox1->ConditionalFormats->Add(L"%0 >= 10",TNoParam())->Italic = true;
ComboBox1->Columns->Add(L"Numbers");
ComboBox1->Items->AddItem(TVariant(1));
ComboBox1->Items->AddItem(TVariant(2));
ComboBox1->Items->AddItem(TVariant(10));
ComboBox1->Items->AddItem(TVariant(20));
|
152
|
How do I highlight in bold the numbers greater than a value

ComboBox1->ConditionalFormats->Add(L"%0 >= 10",TNoParam())->Bold = true;
ComboBox1->Columns->Add(L"Numbers");
ComboBox1->Items->AddItem(TVariant(1));
ComboBox1->Items->AddItem(TVariant(2));
ComboBox1->Items->AddItem(TVariant(10));
ComboBox1->Items->AddItem(TVariant(20));
|
151
|
Can I use your EBN files to change the visual appearance for +/- expand - collapse buttons

ComboBox1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
ComboBox1->VisualAppearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
ComboBox1->LinesAtRoot = Excomboboxlib_tlb::LinesAtRootEnum::exGroupLinesAtRoot;
ComboBox1->HasButtons = Excomboboxlib_tlb::ExpandButtonEnum::exCustom;
ComboBox1->HasButtonsCustom[false] = 16777216;
ComboBox1->HasButtonsCustom[true] = 33554432;
ComboBox1->Columns->Add(L"Column");
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
long h = var_Items->AddItem(TVariant("Root 1"));
var_Items->InsertItem(h,TNoParam(),TVariant("Child 1"));
var_Items->InsertItem(h,TNoParam(),TVariant("Child 2"));
var_Items->set_ExpandItem(h,true);
h = var_Items->AddItem(TVariant("Root 2"));
var_Items->InsertItem(h,TNoParam(),TVariant("Child"));
|
150
|
Can I use your EBN files to change the visual appearance for radio buttons

ComboBox1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
ComboBox1->VisualAppearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
ComboBox1->RadioImage[false] = 16777216;
ComboBox1->RadioImage[true] = 33554432;
ComboBox1->Columns->Add(L"Radio")->set_Def(Excomboboxlib_tlb::DefColumnEnum::exCellHasRadioButton,TVariant(true));
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
var_Items->AddItem(TVariant("Radio 1"));
var_Items->set_CellState(TVariant(var_Items->AddItem(TVariant("Radio 2"))),TVariant(0),1);
var_Items->AddItem(TVariant("Radio 3"));
|
149
|
Can I use your EBN files to change the visual appearance for checkbox cells

ComboBox1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
ComboBox1->VisualAppearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
ComboBox1->CheckImage[Excomboboxlib_tlb::CheckStateEnum::Unchecked] = 16777216;
ComboBox1->CheckImage[Excomboboxlib_tlb::CheckStateEnum::Checked] = 33554432;
ComboBox1->Columns->Add(L"Check")->set_Def(Excomboboxlib_tlb::DefColumnEnum::exCellHasCheckBox,TVariant(true));
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
var_Items->AddItem(TVariant("Check 1"));
var_Items->set_CellState(TVariant(var_Items->AddItem(TVariant("Check 2"))),TVariant(0),1);
|
148
|
How do I change the visual aspect for thumb parts in the scroll bars, using EBN

ComboBox1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
ComboBox1->VisualAppearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
ComboBox1->VisualAppearance->Add(3,TVariant("c:\\exontrol\\images\\hot.ebn"));
ComboBox1->Background[Excomboboxlib_tlb::BackgroundPartEnum::exHSThumb] = 0x1000000;
ComboBox1->Background[Excomboboxlib_tlb::BackgroundPartEnum::exHSThumbP] = 0x2000000;
ComboBox1->Background[Excomboboxlib_tlb::BackgroundPartEnum::exHSThumbH] = 0x3000000;
ComboBox1->Background[Excomboboxlib_tlb::BackgroundPartEnum::exVSThumb] = 0x1000000;
ComboBox1->Background[Excomboboxlib_tlb::BackgroundPartEnum::exVSThumbP] = 0x2000000;
ComboBox1->Background[Excomboboxlib_tlb::BackgroundPartEnum::exVSThumbH] = 0x3000000;
ComboBox1->ColumnAutoResize = false;
ComboBox1->ScrollBySingleLine = true;
ComboBox1->Columns->Add(L"S")->Width = 483;
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
var_Items->set_ItemHeight(var_Items->AddItem(TVariant("Item 1")),248);
ComboBox1->Items->AddItem(TVariant("Item 2"));
|
147
|
How do I change the visual aspect only for the thumb in the scroll bar, using EBN

ComboBox1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
ComboBox1->VisualAppearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
ComboBox1->VisualAppearance->Add(3,TVariant("c:\\exontrol\\images\\hot.ebn"));
ComboBox1->Background[Excomboboxlib_tlb::BackgroundPartEnum::exHSThumb] = 0x1000000;
ComboBox1->Background[Excomboboxlib_tlb::BackgroundPartEnum::exHSThumbP] = 0x2000000;
ComboBox1->Background[Excomboboxlib_tlb::BackgroundPartEnum::exHSThumbH] = 0x3000000;
ComboBox1->ColumnAutoResize = false;
ComboBox1->Columns->Add(L"S")->Width = 483;
|
146
|
I've seen that you can change the visual appearance for the scroll bar. How can I do that

ComboBox1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
ComboBox1->VisualAppearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
ComboBox1->VisualAppearance->Add(3,TVariant("c:\\exontrol\\images\\hot.ebn"));
ComboBox1->Background[Excomboboxlib_tlb::BackgroundPartEnum::exSBtn] = 0x1000000;
ComboBox1->Background[Excomboboxlib_tlb::BackgroundPartEnum::exSBtnP] = 0x2000000;
ComboBox1->Background[Excomboboxlib_tlb::BackgroundPartEnum::exSBtnH] = 0x3000000;
ComboBox1->Background[Excomboboxlib_tlb::BackgroundPartEnum::exHSBack] = RGB(240,240,240);
ComboBox1->Background[Excomboboxlib_tlb::BackgroundPartEnum::exVSBack] = RGB(240,240,240);
ComboBox1->Background[Excomboboxlib_tlb::BackgroundPartEnum::exScrollHoverAll | Excomboboxlib_tlb::BackgroundPartEnum::exDateScrollThumb] = RGB(240,240,240);
ComboBox1->Columns->Add(L"S")->Width = 32;
ComboBox1->Columns->Add(L"Level 1")->set_LevelKey(TVariant(1));
ComboBox1->Columns->Add(L"Level 2")->set_LevelKey(TVariant(1));
ComboBox1->Columns->Add(L"Level 3")->set_LevelKey(TVariant(1));
ComboBox1->Columns->Add(L"E1")->Width = 32;
ComboBox1->Columns->Add(L"E2")->Width = 32;
ComboBox1->Columns->Add(L"E3")->Width = 32;
ComboBox1->Columns->Add(L"E4")->Width = 32;
ComboBox1->ColumnAutoResize = false;
|
145
|
Is there any option to highligth the column from the cursor - point

ComboBox1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
ComboBox1->Background[Excomboboxlib_tlb::BackgroundPartEnum::exCursorHoverColumn] = 0x1000000;
ComboBox1->Columns->Add(L"S")->Width = 32;
ComboBox1->Columns->Add(L"Level 1")->set_LevelKey(TVariant(1));
ComboBox1->Columns->Add(L"Level 2")->set_LevelKey(TVariant(1));
ComboBox1->Columns->Add(L"Level 3")->set_LevelKey(TVariant(1));
ComboBox1->Columns->Add(L"E1")->Width = 32;
ComboBox1->Columns->Add(L"E2")->Width = 32;
ComboBox1->Columns->Add(L"E3")->Width = 32;
ComboBox1->Columns->Add(L"E4")->Width = 32;
|
144
|
How do I change the visual aspect of selected item in the drop down filter window, using your EBN technology

ComboBox1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
ComboBox1->Background[Excomboboxlib_tlb::BackgroundPartEnum::exSelBackColorFilter] = 0x1000000;
ComboBox1->Background[Excomboboxlib_tlb::BackgroundPartEnum::exSelForeColorFilter] = RGB(255,20,20);
ComboBox1->Columns->Add(L"Filter")->DisplayFilterButton = true;
|
143
|
How do I change the visual aspect of the drop down calendar window, that shows up if I click the drop down filter button, using EBN

ComboBox1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
ComboBox1->VisualAppearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
ComboBox1->Background[Excomboboxlib_tlb::BackgroundPartEnum::exDateHeader] = 0x1000000;
ComboBox1->Background[Excomboboxlib_tlb::BackgroundPartEnum::exDateTodayUp] = 0x1000000;
ComboBox1->Background[Excomboboxlib_tlb::BackgroundPartEnum::exDateTodayDown] = 0x2000000;
ComboBox1->Background[Excomboboxlib_tlb::BackgroundPartEnum::exDateScrollThumb] = 0x1000000;
ComboBox1->Background[Excomboboxlib_tlb::BackgroundPartEnum::exDateScrollRange] = RGB(230,230,230);
ComboBox1->Background[Excomboboxlib_tlb::BackgroundPartEnum::exDateSeparatorBar] = RGB(230,230,230);
ComboBox1->Background[Excomboboxlib_tlb::BackgroundPartEnum::exDateSelect] = 0x1000000;
Excomboboxlib_tlb::IColumnPtr var_Column = ComboBox1->Columns->Add(L"Date");
var_Column->FilterType = Excomboboxlib_tlb::FilterTypeEnum::exDate;
var_Column->DisplayFilterButton = true;
var_Column->DisplayFilterDate = true;
|
142
|
How do I change the visual aspect of the close button in the filter bar, using EBN

ComboBox1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
ComboBox1->Background[Excomboboxlib_tlb::BackgroundPartEnum::exFooterFilterBarButton] = 0x1000000;
ComboBox1->Columns->Add(L"Filter")->FilterType = Excomboboxlib_tlb::FilterTypeEnum::exBlanks;
ComboBox1->ApplyFilter();
|
141
|
How do I change the visual aspect of buttons in the cell, using EBN

ComboBox1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
ComboBox1->VisualAppearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
ComboBox1->Background[Excomboboxlib_tlb::BackgroundPartEnum::exCellButtonUp] = 0x1000000;
ComboBox1->Background[Excomboboxlib_tlb::BackgroundPartEnum::exSizeGrip] = 0x2000000;
ComboBox1->SelForeColor = RGB(0,0,0);
ComboBox1->ShowFocusRect = false;
ComboBox1->Columns->Add(L"Column 1")->set_Def(Excomboboxlib_tlb::DefColumnEnum::exCellHasButton,TVariant(true));
ComboBox1->Items->AddItem(TVariant("Button 1"));
ComboBox1->Items->AddItem(TVariant("Button 2"));
ComboBox1->Columns->Add(L"Column 2");
|
140
|
How do I change the visual aspect of the drop down filter button, using EBN

ComboBox1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
ComboBox1->Background[Excomboboxlib_tlb::BackgroundPartEnum::exHeaderFilterBarButton] = 0x1000000;
ComboBox1->Columns->Add(L"Filter")->DisplayFilterButton = true;
|
139
|
Is there any function to get the control's data in your x-script format / template

ComboBox1->Columns->Add(L"Column");
ComboBox1->Items->AddItem(TVariant("ToTemplate()"));
|
138
|
How do I enable resizing the columns at runtime

ComboBox1->ColumnsAllowSizing = true;
ComboBox1->MarkSearchColumn = false;
ComboBox1->HeaderVisible = false;
ComboBox1->Columns->Add(L"Column 1");
ComboBox1->Columns->Add(L"Column 2");
ComboBox1->DrawGridLines = Excomboboxlib_tlb::GridLinesEnum::exVLines;
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
var_Items->set_CellCaption(TVariant(var_Items->AddItem(TVariant("Item 1"))),TVariant(1),TVariant("Sub Item 1"));
Excomboboxlib_tlb::IItemsPtr var_Items1 = ComboBox1->Items;
var_Items1->set_CellCaption(TVariant(var_Items1->AddItem(TVariant("Item 2"))),TVariant(1),TVariant("Sub Item 2"));
|
137
|
How do I enable resizing ( changing the height ) the items at runtime

ComboBox1->ItemsAllowSizing = Excomboboxlib_tlb::ItemsAllowSizingEnum::exResizeItem;
ComboBox1->ScrollBySingleLine = true;
ComboBox1->Columns->Add(L"Column");
ComboBox1->Items->AddItem(TVariant("Item 1"));
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
var_Items->set_ItemHeight(var_Items->AddItem(TVariant("Item 2")),48);
ComboBox1->Items->AddItem(TVariant("Item 3"));
|
136
|
How can I sort by multiple columns

ComboBox1->SingleSort = false;
ComboBox1->Columns->Add(L"C1")->SortOrder = Excomboboxlib_tlb::SortOrderEnum::SortAscending;
ComboBox1->Columns->Add(L"C2")->SortOrder = Excomboboxlib_tlb::SortOrderEnum::SortDescending;
ComboBox1->Columns->Add(L"C3")->SortOrder = Excomboboxlib_tlb::SortOrderEnum::SortAscending;
|
135
|
How can I add several columns to control's sort bar

ComboBox1->SortBarVisible = true;
ComboBox1->SortBarColumnWidth = 48;
ComboBox1->Columns->Add(L"C1")->SortOrder = Excomboboxlib_tlb::SortOrderEnum::SortAscending;
ComboBox1->Columns->Add(L"C2")->SortOrder = Excomboboxlib_tlb::SortOrderEnum::SortDescending;
|
134
|
How can I change the width of the columns being displayed in the sort bar

ComboBox1->SortBarVisible = true;
ComboBox1->SortBarColumnWidth = 48;
ComboBox1->Columns->Add(L"C1")->SortOrder = Excomboboxlib_tlb::SortOrderEnum::SortAscending;
ComboBox1->Columns->Add(L"C2")->SortOrder = Excomboboxlib_tlb::SortOrderEnum::SortDescending;
|
133
|
How can I change the height of the sort bar's

ComboBox1->SortBarVisible = true;
ComboBox1->SortBarHeight = 48;
|
132
|
How can I change the sort bar's foreground color

ComboBox1->SortBarVisible = true;
ComboBox1->ForeColorSortBar = RGB(255,0,0);
|
131
|
How can I change the visual appearance of the control's sort bar, using EBN files

ComboBox1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
ComboBox1->VisualAppearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
ComboBox1->SortBarVisible = true;
ComboBox1->BackColorSortBar = 0x1000000;
ComboBox1->BackColorSortBarCaption = 0x2000000;
ComboBox1->Appearance = Excomboboxlib_tlb::AppearanceEnum::None2;
|
130
|
How can I change the sort bar's background color

ComboBox1->SortBarVisible = true;
ComboBox1->BackColorSortBar = RGB(255,0,0);
ComboBox1->BackColorSortBarCaption = RGB(128,0,0);
|
129
|
How can I change the default caption being displayed in the control's sort bar

ComboBox1->SortBarVisible = true;
ComboBox1->SortBarCaption = L"new caption";
|
128
|
How can I show the locked / fixed items on the bottom side of the control

ComboBox1->ShowLockedItems = true;
ComboBox1->Columns->Add(L"Column");
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
var_Items->set_LockedItemCount(Excomboboxlib_tlb::VAlignmentEnum::exMiddle,2);
var_Items->set_CellCaption(TVariant(var_Items->get_LockedItem(Excomboboxlib_tlb::VAlignmentEnum::exMiddle,0)),TVariant(0),TVariant("locked item 1"));
var_Items->set_CellCaption(TVariant(var_Items->get_LockedItem(Excomboboxlib_tlb::VAlignmentEnum::exMiddle,1)),TVariant(0),TVariant("locked item 2"));
var_Items->AddItem(TVariant("un-locked item"));
|
127
|
How can I show the locked / fixed items

ComboBox1->ShowLockedItems = true;
ComboBox1->Columns->Add(L"Column");
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
var_Items->set_LockedItemCount(Excomboboxlib_tlb::VAlignmentEnum::exTop,2);
var_Items->set_CellCaption(TVariant(var_Items->get_LockedItem(Excomboboxlib_tlb::VAlignmentEnum::exTop,0)),TVariant(0),TVariant("locked item 1"));
var_Items->set_CellCaption(TVariant(var_Items->get_LockedItem(Excomboboxlib_tlb::VAlignmentEnum::exTop,1)),TVariant(0),TVariant("locked item 2"));
var_Items->AddItem(TVariant("un-locked item"));
|
126
|
How can I hide the locked / fixed items

ComboBox1->ShowLockedItems = false;
ComboBox1->Columns->Add(L"Column");
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
var_Items->set_LockedItemCount(Excomboboxlib_tlb::VAlignmentEnum::exTop,1);
var_Items->set_CellCaption(TVariant(var_Items->get_LockedItem(Excomboboxlib_tlb::VAlignmentEnum::exTop,0)),TVariant(0),TVariant("locked item"));
var_Items->AddItem(TVariant("un-locked item"));
|
125
|
How can I show the control's sort bar

ComboBox1->SortBarVisible = true;
|
124
|
How can I change the header's background color, when multiple levels are displayed

ComboBox1->BackColorLevelHeader = RGB(250,0,0);
ComboBox1->Columns->Add(L"S")->Width = 32;
ComboBox1->Columns->Add(L"Level 1")->set_LevelKey(TVariant(1));
ComboBox1->Columns->Add(L"Level 2")->set_LevelKey(TVariant(1));
ComboBox1->Columns->Add(L"Level 3")->set_LevelKey(TVariant(1));
|
123
|
How do I expand automatically the items while user types characters to searching for something ( incremental searching )

ComboBox1->ExpandOnSearch = true;
ComboBox1->LinesAtRoot = Excomboboxlib_tlb::LinesAtRootEnum::exLinesAtRoot;
ComboBox1->AutoSearch = true;
ComboBox1->Columns->Add(L"Column")->AutoSearch = Excomboboxlib_tlb::AutoSearchEnum::exContains;
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
var_Items->InsertItem(var_Items->InsertItem(var_Items->AddItem(TVariant("text")),TNoParam(),TVariant("some text")),TNoParam(),TVariant("another text"));
var_Items->InsertItem(var_Items->InsertItem(var_Items->AddItem(TVariant("text")),TNoParam(),TVariant("some text")),TNoParam(),TVariant("another text"));
|
122
|
Do you have some function to load data from a safe array

ComboBox1->Columns->Add(L"Column");
ComboBox1->Items->AddItem(TVariant(0));
ComboBox1->PutItems(ComboBox1->GetItems(TVariant(0)),TNoParam());
|
121
|
Do you have some function to retrieve all items to a safe array

ComboBox1->Columns->Add(L"Column");
ComboBox1->Items->AddItem(TVariant(0));
ComboBox1->PutItems(ComboBox1->GetItems(TVariant(0)),TNoParam());
ComboBox1->Items->AddItem(TVariant(1));
ComboBox1->PutItems(ComboBox1->GetItems(TVariant(0)),TNoParam());
ComboBox1->Items->AddItem(TVariant(2));
ComboBox1->PutItems(ComboBox1->GetItems(TVariant(0)),TNoParam());
ComboBox1->Items->AddItem(TVariant(3));
|
120
|
How can I hide a column

ComboBox1->Columns->Add(L"Hidden")->Visible = false;
ComboBox1->Columns->Add(L"2");
ComboBox1->Columns->Add(L"3");
ComboBox1->Columns->Add(L"4");
ComboBox1->Columns->Add(L"5");
|
119
|
I've seen that the width of the tooltip is variable. Can I make it larger

ComboBox1->ToolTipWidth = 328;
ComboBox1->Columns->Add(L"tootip")->ToolTip = L"this is a tooltip that should be very very very very very very very long";
|
118
|
How do I disable showing the tooltip for all control
ComboBox1->ToolTipDelay = 0;
ComboBox1->Columns->Add(L"tootip")->ToolTip = L"this is a tooltip assigned to a column";
|
117
|
How do I let the tooltip being displayed longer

ComboBox1->ToolTipPopDelay = 10000;
ComboBox1->Columns->Add(L"tootip")->ToolTip = L"this is a tooltip assigned to a column";
|
116
|
How do I show the tooltip quicker

ComboBox1->ToolTipDelay = 1;
ComboBox1->Columns->Add(L"tootip")->ToolTip = L"this is a tooltip assigned to a column";
|
115
|
How do I change the caption being displayed in the control's filter bar

ComboBox1->FilterBarCaption = L"your filter caption";
Excomboboxlib_tlb::IColumnPtr var_Column = ComboBox1->Columns->Add(L"Column");
var_Column->DisplayFilterButton = true;
var_Column->FilterType = Excomboboxlib_tlb::FilterTypeEnum::exBlanks;
ComboBox1->ApplyFilter();
|
114
|
How do I search case sensitive, using your incremental search feature

ComboBox1->AutoSearch = true;
ComboBox1->ASCIILower = L"";
Excomboboxlib_tlb::IColumnsPtr var_Columns = ComboBox1->Columns;
var_Columns->Add(L"exStartWith")->AutoSearch = Excomboboxlib_tlb::AutoSearchEnum::exStartWith;
var_Columns->Add(L"exContains")->AutoSearch = Excomboboxlib_tlb::AutoSearchEnum::exContains;
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
var_Items->set_CellCaption(TVariant(var_Items->AddItem(TVariant("text"))),TVariant(1),TVariant("another text"));
Excomboboxlib_tlb::IItemsPtr var_Items1 = ComboBox1->Items;
var_Items1->set_CellCaption(TVariant(var_Items1->AddItem(TVariant("text"))),TVariant(1),TVariant("another text"));
|
113
|
How do I disable the control

ComboBox1->Enabled = false;
|
112
|
How do I enable the incremental search feature within a column

ComboBox1->AutoSearch = true;
Excomboboxlib_tlb::IColumnsPtr var_Columns = ComboBox1->Columns;
var_Columns->Add(L"exStartWith")->AutoSearch = Excomboboxlib_tlb::AutoSearchEnum::exStartWith;
var_Columns->Add(L"exContains")->AutoSearch = Excomboboxlib_tlb::AutoSearchEnum::exContains;
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
var_Items->set_CellCaption(TVariant(var_Items->AddItem(TVariant("text"))),TVariant(1),TVariant("another text"));
Excomboboxlib_tlb::IItemsPtr var_Items1 = ComboBox1->Items;
var_Items1->set_CellCaption(TVariant(var_Items1->AddItem(TVariant("text"))),TVariant(1),TVariant("another text"));
|
111
|
How do I call your x-script language

Excomboboxlib_tlb::IColumnPtr var_Column = ComboBox1->ExecuteTemplate(L"Columns.Add(`Column`)");
var_Column->HeaderStrikeOut = true;
var_Column->HeaderBold = true;
|
110
|
How do I call your x-script language

ComboBox1->Template = L"Columns.Add(`Column`).HTMLCaption = `<b>C</b>olumn`";
|
109
|
How do I show alternate rows in different background color

ComboBox1->BackColorAlternate = RGB(240,240,240);
ComboBox1->Columns->Add(L"Column");
Excomboboxlib_tlb::IItemsPtr var_Items = ComboBox1->Items;
var_Items->AddItem(TVariant("Item 1"));
var_Items->AddItem(TVariant("Item 2"));
var_Items->AddItem(TVariant("Item 3"));
var_Items->AddItem(TVariant("Item 4"));
var_Items->AddItem(TVariant("Item 5"));
|
108
|
How do I enlarge the drop down filter window

ComboBox1->FilterBarDropDownHeight = "-320";
Excomboboxlib_tlb::IColumnPtr var_Column = ComboBox1->Columns->Add(L"Column");
var_Column->DisplayFilterButton = true;
var_Column->FilterBarDropDownWidth = "-320";
ComboBox1->Items->AddItem(TVariant("Item 1"));
ComboBox1->Items->AddItem(TVariant("Item 2"));
|
107
|
How do I filter programatically the control

Excomboboxlib_tlb::IColumnPtr var_Column = ComboBox1->Columns->Add(L"Column");
var_Column->DisplayFilterButton = true;
var_Column->FilterType = Excomboboxlib_tlb::FilterTypeEnum::exPattern;
var_Column->Filter = L"Item*";
ComboBox1->Items->AddItem(TVariant("Item 1"));
ComboBox1->Items->AddItem(TVariant(""));
ComboBox1->Items->AddItem(TVariant("Item 2"));
ComboBox1->ApplyFilter();
|
106
|
How do I change the font of the control's filterbar

ComboBox1->FilterBarFont->Size = TVariant(long(20));
Excomboboxlib_tlb::IColumnPtr var_Column = ComboBox1->Columns->Add(L"Column");
var_Column->DisplayFilterButton = true;
var_Column->FilterType = Excomboboxlib_tlb::FilterTypeEnum::exBlanks;
ComboBox1->ApplyFilter();
|
105
|
Can I apply an EBN skin to the control's filter bar so I can change its visual appearance

ComboBox1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
ComboBox1->FilterBarBackColor = 0x1000000;
Excomboboxlib_tlb::IColumnPtr var_Column = ComboBox1->Columns->Add(L"Column");
var_Column->DisplayFilterButton = true;
var_Column->FilterType = Excomboboxlib_tlb::FilterTypeEnum::exBlanks;
ComboBox1->ApplyFilter();
|
104
|
How do I change the background color of the control's filterbar

ComboBox1->FilterBarBackColor = RGB(240,240,240);
Excomboboxlib_tlb::IColumnPtr var_Column = ComboBox1->Columns->Add(L"Column");
var_Column->DisplayFilterButton = true;
var_Column->FilterType = Excomboboxlib_tlb::FilterTypeEnum::exBlanks;
ComboBox1->ApplyFilter();
|
103
|
How do I change the foreground color of the control's filterbar

ComboBox1->FilterBarForeColor = RGB(255,0,0);
Excomboboxlib_tlb::IColumnPtr var_Column = ComboBox1->Columns->Add(L"Column");
var_Column->DisplayFilterButton = true;
var_Column->FilterType = Excomboboxlib_tlb::FilterTypeEnum::exBlanks;
ComboBox1->ApplyFilter();
|
102
|
How do I change the height of the control's filterbar

ComboBox1->FilterBarHeight = 32;
Excomboboxlib_tlb::IColumnPtr var_Column = ComboBox1->Columns->Add(L"Column");
var_Column->DisplayFilterButton = true;
var_Column->FilterType = Excomboboxlib_tlb::FilterTypeEnum::exBlanks;
ComboBox1->ApplyFilter();
|
101
|
How do I change the header's foreground color

ComboBox1->HeaderForeColor = RGB(255,0,0);
ComboBox1->Columns->Add(L"Column 1");
ComboBox1->Columns->Add(L"Column 2");
ComboBox1->Items->AddItem(TVariant("Item 1"));
|